package com.zuipin.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;

/**
 * 会员等级表
 * 
 * @ClassName: MemberLevel
 * @author wuyicheng 
 * @time 2017年4月18日下午4:43:18 
 **/
public class MemberLevel implements Serializable {
	
	private static final long	serialVersionUID		= 1L;
	
	private Long				id;									// 
	
	private Short				delFlag;							// 删除标志:1是删除，0是未删除
	
	private Long				createId;							// 创建者
	
	private String				createTime;							// 创建时间
	
	private Long				updateId;							// 更新者
	
	private String				updateTime;							// 更新时间
	
	private Long				sysId;								// 系统ID
	
	private BigDecimal			cumulativeConsume;					// 会员成长条件（累计消费）
	
	private Integer				cumulativeIntegral;					// 会员成长条件（累计积分）
	
	private BigDecimal			teaCashbackDecuction;				// 茶类返现抵扣比例
	
	private BigDecimal			packCashbackDecuction;				// 包装返现抵扣比例
	
	private String				redPacketRulesId;					// 发放红包规则
	
	private BigDecimal			integralMultiple;					// 积分倍数
	
	private BigDecimal			productDecuction;					// 商品折扣
	
	private BigDecimal			cashbackDecuction;					// 会员返佣比例
	
	private String				lever;								// 级别
	
	private String				memberLevelName;					// 会员等级名字
	
	private BigDecimal			cumulativeAmountSingle;				// 单次购物金额
	
	private BigDecimal			discountOrigin;						// 产地直供茶折扣
	
	private BigDecimal			discountBrand;						// 品牌茶折扣
	
	private BigDecimal			discountTeaset;						// 茶盘茶具折扣
	
	private BigDecimal			consumGrowthRatio;					//消费成长值比例(成长值/消费值)
	
	private BigDecimal			consumIntegralRatio;				//消费积分比例(积分值/消费值)
	
	private Integer				effectiveDays;						//有效期天数 -1表示永久有效
	
	private Integer				sort;								//等级排序字段'
	
	private Integer				growthValueTop;						//成长值上限
	
	private Integer				growthValueDown;					//成长值下限
	/**
	 * 当会员成长值大于1,000,000就是最高级别
	 */
	public final static Integer	MAX_GROETH_VALUE		= 1000000;
	/**
	 * 最高级别会员ID
	 */
	public final static Long	MAX_MEMBER_LEVEL		= 25L;
	/**
	 * 代理商ID
	 */
	public final static Long	AGENT_MEMBER_LEVEL_ID	= 27L;
	/**
	 * 代理商等级
	 */
	public static final String	Agent_LEVEL_V13			= "V13";	//代理商等于V13
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "ID")
	public Long getId() {
		return this.id;
	}
	
	public void setDelFlag(Short delFlag) {
		this.delFlag = delFlag;
	}
	
	@ApiModelProperty(value = "删除标志")
	public Short getDelFlag() {
		return this.delFlag;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	@ApiModelProperty(value = "创建人ID")
	public Long getCreateId() {
		return this.createId;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	@ApiModelProperty(value = "创建时间")
	public String getCreateTime() {
		return this.createTime;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	@ApiModelProperty(value = "修改人ID")
	public Long getUpdateId() {
		return this.updateId;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	@ApiModelProperty(value = "修改时间")
	public String getUpdateTime() {
		return this.updateTime;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	@ApiModelProperty(value = "系统ID")
	public Long getSysId() {
		return this.sysId;
	}
	
	public void setCumulativeConsume(BigDecimal cumulativeConsume) {
		this.cumulativeConsume = cumulativeConsume;
	}
	
	@ApiModelProperty(value = "会员成长条件（累计消费）")
	public BigDecimal getCumulativeConsume() {
		return this.cumulativeConsume;
	}
	
	public void setCumulativeIntegral(Integer cumulativeIntegral) {
		this.cumulativeIntegral = cumulativeIntegral;
	}
	
	@ApiModelProperty(value = "会员成长条件（累计积分）")
	public Integer getCumulativeIntegral() {
		return this.cumulativeIntegral;
	}
	
	public void setTeaCashbackDecuction(BigDecimal teaCashbackDecuction) {
		this.teaCashbackDecuction = teaCashbackDecuction;
	}
	
	@ApiModelProperty(value = "茶类返现抵扣比例")
	public BigDecimal getTeaCashbackDecuction() {
		return this.teaCashbackDecuction;
	}
	
	public void setPackCashbackDecuction(BigDecimal packCashbackDecuction) {
		this.packCashbackDecuction = packCashbackDecuction;
	}
	
	@ApiModelProperty(value = "包装返现抵扣比例")
	public BigDecimal getPackCashbackDecuction() {
		return this.packCashbackDecuction;
	}
	
	public void setRedPacketRulesId(String redPacketRulesId) {
		this.redPacketRulesId = redPacketRulesId;
	}
	
	@ApiModelProperty(value = "发放红包规则")
	public String getRedPacketRulesId() {
		return this.redPacketRulesId;
	}
	
	public void setIntegralMultiple(BigDecimal integralMultiple) {
		this.integralMultiple = integralMultiple;
	}
	
	@ApiModelProperty(value = "积分倍数")
	public BigDecimal getIntegralMultiple() {
		return this.integralMultiple;
	}
	
	public void setProductDecuction(BigDecimal productDecuction) {
		this.productDecuction = productDecuction;
	}
	
	@ApiModelProperty(value = "商品折扣")
	public BigDecimal getProductDecuction() {
		return this.productDecuction;
	}
	
	public void setCashbackDecuction(BigDecimal cashbackDecuction) {
		this.cashbackDecuction = cashbackDecuction;
	}
	
	@ApiModelProperty(value = "会员返佣比例")
	public BigDecimal getCashbackDecuction() {
		return this.cashbackDecuction;
	}
	
	public void setLever(String lever) {
		this.lever = lever;
	}
	
	@ApiModelProperty(value = "级别")
	public String getLever() {
		return this.lever;
	}
	
	public void setMemberLevelName(String memberLevelName) {
		this.memberLevelName = memberLevelName;
	}
	
	@ApiModelProperty(value = "会员等级名字")
	public String getMemberLevelName() {
		return this.memberLevelName;
	}
	
	public void setCumulativeAmountSingle(BigDecimal cumulativeAmountSingle) {
		this.cumulativeAmountSingle = cumulativeAmountSingle;
	}
	
	@ApiModelProperty(value = "单次购物金额")
	public BigDecimal getCumulativeAmountSingle() {
		return this.cumulativeAmountSingle;
	}
	
	public void setDiscountOrigin(BigDecimal discountOrigin) {
		this.discountOrigin = discountOrigin;
	}
	
	@ApiModelProperty(value = " 产地直供茶折扣")
	public BigDecimal getDiscountOrigin() {
		return this.discountOrigin;
	}
	
	public void setDiscountBrand(BigDecimal discountBrand) {
		this.discountBrand = discountBrand;
	}
	
	@ApiModelProperty(value = "品牌茶折扣")
	public BigDecimal getDiscountBrand() {
		return this.discountBrand;
	}
	
	public void setDiscountTeaset(BigDecimal discountTeaset) {
		this.discountTeaset = discountTeaset;
	}
	
	@ApiModelProperty(value = "茶盘茶具折扣")
	public BigDecimal getDiscountTeaset() {
		return this.discountTeaset;
	}
	
	@ApiModelProperty(value = "消费成长值比例(成长值/消费值)")
	public BigDecimal getConsumGrowthRatio() {
		return consumGrowthRatio;
	}
	
	public void setConsumGrowthRatio(BigDecimal consumGrowthRatio) {
		this.consumGrowthRatio = consumGrowthRatio;
	}
	
	@ApiModelProperty(value = "消费积分比例(积分值/消费值)")
	public BigDecimal getConsumIntegralRatio() {
		return consumIntegralRatio;
	}
	
	public void setConsumIntegralRatio(BigDecimal consumIntegralRatio) {
		this.consumIntegralRatio = consumIntegralRatio;
	}
	
	@ApiModelProperty(value = "有效期天数 -1表示永久有效")
	public Integer getEffectiveDays() {
		return effectiveDays;
	}
	
	public void setEffectiveDays(Integer effectiveDays) {
		this.effectiveDays = effectiveDays;
	}
	
	@ApiModelProperty(value = "排序")
	public Integer getSort() {
		return sort;
	}
	
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
	public Integer getGrowthValueTop() {
		return growthValueTop;
	}
	
	public void setGrowthValueTop(Integer growthValueTop) {
		this.growthValueTop = growthValueTop;
	}
	
	public Integer getGrowthValueDown() {
		return growthValueDown;
	}
	
	public void setGrowthValueDown(Integer growthValueDown) {
		this.growthValueDown = growthValueDown;
	}
	
}
